package com.ruoyi.system.mapper;

import com.ruoyi.system.wnjk.domain.po.ShopPayOrder;

import java.util.List;

/**
 * 支付订单Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-14
 */
public interface ShopPayOrderMapper
{
    /**
     * 查询支付订单
     *
     * @param id 支付订单主键
     * @return 支付订单
     */
    public ShopPayOrder selectShopPayOrderById(Long id);

    /**
     * 查询支付订单列表
     *
     * @param shopPayOrder 支付订单
     * @return 支付订单集合
     */
    public List<ShopPayOrder> selectShopPayOrderList(ShopPayOrder shopPayOrder);

    /**
     * 新增支付订单
     *
     * @param shopPayOrder 支付订单
     * @return 结果
     */
    public int insertShopPayOrder(ShopPayOrder shopPayOrder);

    /**
     * 修改支付订单
     *
     * @param shopPayOrder 支付订单
     * @return 结果
     */
    public int updateShopPayOrder(ShopPayOrder shopPayOrder);

    /**
     * 删除支付订单
     *
     * @param id 支付订单主键
     * @return 结果
     */
    public int deleteShopPayOrderById(Long id);

    /**
     * 批量删除支付订单
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopPayOrderByIds(Long[] ids);
}
